<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
       <%@page import="sever.*,entity.*,java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
        <%
         StudentService studentService=new StudentService();
         Integer i= Integer.parseInt( request.getParameter("stuno"));
         int j= studentService.del2(i);
         if(j==1){
 			out.print("删除成功");
 			response.sendRedirect("student.jsp");
 		}else{
 			out.print("删除失败");
 		}
        %>
</body>
</html>